/*
	This file is part of PropExtractor.

	PropExtractor is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	PropExtractor is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with PropExtractor. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _PEOBJECT_H_
#define _PEOBJECT_H_

#include "PEFile.h"

namespace pe
{

	class PE_DLL_EXPORT PEObject
	{
	
	public:
	
		PEObject();
		~PEObject();

		virtual int LoadHeader(PEStream* a_Stream) = 0;
		virtual int LoadBody() = 0;
	
	protected:

		ObjectType m_Type;
		PEStream* m_Stream;
	
	}; // class PEObject

}; // namespace pe

#endif